package com.manulife.hk.performance.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.*;

/**
 * SalesMap
 */
@Data
@javax.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2018-03-16T12:42:30.997+08:00")
public class SalesMap {
	private Long id ;

	@ApiModelProperty(required = true, value = "")
	@NotNull
	@Size(max=20)
	@JsonProperty("submitIssueSalesMapKey")
	private String submitIssueSalesMapKey ;

	@ApiModelProperty(required = true, value = "")
	@NotNull
	@Size(max=20)
	@JsonProperty("submitSalesKey")
	private String submitSalesKey ;
	
	@ApiModelProperty(required = true, value = "")
	@NotNull
	@Size(max=2)
	@JsonProperty("submitSalesSubKey")
	private String submitSalesSubKey;

	@ApiModelProperty(required = true, value = "")
	@NotNull
	@Valid
	@Size(max=20)
	@JsonProperty("issueSalesKey")
	private String issueSalesKey;

	@JsonProperty("lastUpdateUser")
	private String lastUpdateUser;

}
